package com.example.asus.homework11.bean;


public class UploadBean {

    /**
     * rtn_code : 0
     * rtn_msg : 上传头像成功
     * data : {"username":"lnn","url":"upload/lnn.jpeg"}
     */

    private int rtn_code;
    private String rtn_msg;
    private DataBean data;

    public int getRtn_code() {
        return rtn_code;
    }

    public void setRtn_code(int rtn_code) {
        this.rtn_code = rtn_code;
    }

    public String getRtn_msg() {
        return rtn_msg;
    }

    public void setRtn_msg(String rtn_msg) {
        this.rtn_msg = rtn_msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * username : lnn
         * url : upload/lnn.jpeg
         */

        private String username;
        private String url;

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }
    }
}
